projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a09fc82
)
Make reliefs on Haiku more like X
author
Po Lu
<luangruo@yahoo.com>
Wed, 11 May 2022 01:21:18 +0000
(
01:21
+0000)
committer
Po Lu
<luangruo@yahoo.com>
Wed, 11 May 2022 01:21:18 +0000
(
01:21
+0000)
* src/haikuterm.c (haiku_draw_relief_rect): Use frame background
(normal GC) for corners.
src/haikuterm.c
patch
|
blob
|
history
diff --git
a/src/haikuterm.c
b/src/haikuterm.c
index 26ea69758b1c9f06a137e145e98bbf8d731da8bb..28ab66c9bcedef8046d1389077b0a60ad7bc75c6 100644
(file)
--- a/
src/haikuterm.c
+++ b/
src/haikuterm.c
@@
-715,7
+715,7
@@
haiku_draw_relief_rect (struct glyph_string *s, int left_x, int top_y,
if (vwidth > 1 && right_p)
BView_StrokeLine (view, right_x, top_y, right_x, bottom_y);
- BView_SetHighColor (view,
s->face->background
);
+ BView_SetHighColor (view,
FRAME_BACKGROUND_PIXEL (s->f)
);
/* Omit corner pixels. */
if (hwidth > 1 && vwidth > 1)